package com.base.mapper.voipmapper;

import com.base.po.voip.Trends;
import com.base.utils.Page;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrendsMapper {

	int deleteByPrimaryKey(String id);

	int insert(Trends record);

	int insertSelective(Trends record);

	Trends selectByPrimaryKey(String id);
	
	List<Trends> selectByTrends(Trends record);

	int updateByPrimaryKeySelective(Trends record);

	int updateByPrimaryKey(Trends record);

	// 分页
	int countByAll(@Param("mobile") String mobile, @Param("time") String time, @Param("sotreid") String sotreid);

	List<Trends> selectByAll(@Param("page") Page page, @Param("mobile") String mobile, @Param("time") String time,
                             @Param("sotreid") String sotreid);
}